import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
Vue.config.productionTip = false

import moment from 'moment'
moment.locale('zh-cn')
Vue.filter('relvTime', function (val) {
    
  return moment(val).fromNow()
})


// 导入请求的文件
import './utlis/request'

// 导入flexible
import 'amfe-flexible'

// 导入vant的内容
import './utlis/vant'

// 导入公共样式
import './styles/base.css'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
